package com.ruoyi.openDoor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家的图片介绍对象 business_img
 * 
 * @author ruoyi
 * @date 2023-02-06
 */
public class BusinessImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键的id */
    private Long id;

    /** 商家的id */
    @Excel(name = "商家的id")
    private Long businessId;

    /** 图片储存路径 */
    @Excel(name = "图片储存路径")
    private String path;

    /** 图片的顺序 */
    @Excel(name = "图片的顺序")
    private Long order;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("path", getPath())
            .append("order", getOrder())
            .toString();
    }
}
